package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.device;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class DeviceListResponse extends SecurityResponse<DeviceListResponse.Body> {

    private static final long serialVersionUID = 1L;

	public DeviceListResponse() {
        this.body = new Body();
    }

    public DeviceListResponse(Integer code, String msg) {
        super(code,msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;
        
		public List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }
    }

    public static class Item {

    	private String deviceSn;
		private String deviceTypeId;
		private String deviceTypeName;
		private String funcModelNames;
		private Long placeId;
		private String placeName;
		private String placeAreaName;
		private Integer networkType;
		private String networkTypeName;
		private Date belongDate;
		
        public String getDeviceSn() {
			return deviceSn;
		}

		public void setDeviceSn(String deviceSn) {
			this.deviceSn = deviceSn;
		}

		public String getDeviceTypeId() {
			return deviceTypeId;
		}

		public void setDeviceTypeId(String deviceTypeId) {
			this.deviceTypeId = deviceTypeId;
		}

		public String getDeviceTypeName() {
			return deviceTypeName;
		}

		public void setDeviceTypeName(String deviceTypeName) {
			this.deviceTypeName = deviceTypeName;
		}

		public String getFuncModelNames() {
			return funcModelNames;
		}

		public void setFuncModelNames(String funcModelNames) {
			this.funcModelNames = funcModelNames;
		}

		public Long getPlaceId() {
			return placeId;
		}

		public void setPlaceId(Long placeId) {
			this.placeId = placeId;
		}

		public String getPlaceName() {
			return placeName;
		}

		public void setPlaceName(String placeName) {
			this.placeName = placeName;
		}

		public String getPlaceAreaName() {
			return placeAreaName;
		}

		public void setPlaceAreaName(String placeAreaName) {
			this.placeAreaName = placeAreaName;
		}

		public Integer getNetworkType() {
			return networkType;
		}

		public void setNetworkType(Integer networkType) {
			this.networkType = networkType;
		}

		public String getNetworkTypeName() {
			return networkTypeName;
		}

		public void setNetworkTypeName(String networkTypeName) {
			this.networkTypeName = networkTypeName;
		}

		public Date getBelongDate() {
			return belongDate;
		}

		public void setBelongDate(Date belongDate) {
			this.belongDate = belongDate;
		}

		
    }
}
